//
//  HomeSearchCell.h
//  ReceiptDelivery
//
//  Created by 吕晶 on 2020/11/17.
//  Copyright © 2020 吕晶. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "HomeSearchFrame.h"

NS_ASSUME_NONNULL_BEGIN

typedef void(^HomeSearchCellBlock)(NSString *text);

static NSString *const HomeSearchCellID = @"HomeSearchCell";

@interface HomeSearchCell : UICollectionViewCell

+ (instancetype)HomeSearchCellWithReuseIdentifier:(NSString *)identifier forIndexPath:(NSIndexPath *)indexPath withCollectionView:(UICollectionView *)collectionView;

@property (nonatomic, strong) HomeSearchFrame *frameModel;
@property (nonatomic, copy) dispatch_block_t deleteBlock;
@property (nonatomic, copy) HomeSearchCellBlock wordBlock;

@end

NS_ASSUME_NONNULL_END
